package com.mes.rule.domain;

import java.util.ArrayList;
import java.util.List;

public class RuleCondition
{
	private List<RulePattern> rulePatternList;
	
	public RuleCondition()
	{
		rulePatternList = new ArrayList<RulePattern>();
	}
	
	public void add(RulePattern rulePattern)
	{
		rulePatternList.add(rulePattern);
	}
	
	public void remove(RulePattern rulePattern)
	{
		rulePatternList.remove(rulePattern);
	}

	public List<RulePattern> getRulePatternList()
	{
		return rulePatternList;
	}

	public void setRulePatternList(List<RulePattern> rulePatternList)
	{
		this.rulePatternList = rulePatternList;
	}
}
